<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 通过引入reset.css，取消a标签的下划线 一般reset.css就会用来重置很多没用的属性，全局的 -->
    <link rel="stylesheet" href="./css/reset.css">
    <style>
        a{
            /* 取消a标签的下划线 */
            /* text-decoration: none; */
        }

        .baidu{
            /* text-decoration: underline; */
            /* text-decoration: line-through; */
            text-decoration: overline; 
        }
    </style>
</head>
<body>
    <!-- a元素默认自带text-decoration -->
    <a href="http://www.baidu.com">百度一下</a>
    <!-- 给span添加下划线 -->
    <span class="baidu">百度一下</span>
</body>
</html>